class Kernighan20165211 {
    public static void main(String args[]) {
        int sum = 0, i = 0, j = 0;
        for (i = 1; i <= 5211; i++) {
            sum = sum + i;
        }
        System.out.println(sum);
    }
}
